package com.dongdong.task;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyTaskController {

    @XxlJob("aaa")
    public void aaa(){
        System.out.println("我执行了--->");
    }

    @XxlJob("bbb")
    public void bbb(){
        System.out.println("我是bbb-->");
    }
}
